package com.myhome.money.sentinel.dubbo;

import com.alibaba.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

/**
 * @Author: 许路路
 * @Date: 2019/8/12
 */
public class DemoConsumerController {

    @Reference(url = "dubbo://127.0.0.1:25757")
    private HelloService helloService;

    public String test(String name) {
        helloService.doNothing();
        return helloService.sayHello(name);
    }
}
